package cn.topevery.garden.entity.query;

import hw.topevery.framework.BaseFetch;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *  查询参数
 *
 * @author code-generate
 * @date 2022-01-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AlarmQuery", description = " 查询参数")
public class AlarmQuery extends BaseFetch {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "0 预警 1 报警")
    private Integer type;

    @ApiModelProperty(value = "编号")
    private String alarmCode;

    @ApiModelProperty(value = "预警内容")
    private String alarmContent;

    @ApiModelProperty(value = "预警对象类型  数据字典")
    private String objType;

    @ApiModelProperty(value = "预警对象Id ")
    private String objId;
}
